package friot.utils.exception;

import friot.utils.constants.AppHttpCodeEnum;
import lombok.Getter;

/**
 * 自定义业务异常类
 *
 * @author He Kuntao
 * @date 2023/11/30 16:22
 */
@Getter
public class ServiceException extends RuntimeException {

    private final AppHttpCodeEnum appHttpCodeEnum;

    public ServiceException(AppHttpCodeEnum appHttpCodeEnum) {
        this.appHttpCodeEnum = appHttpCodeEnum;
    }

}
